from ddt import ddt, data
from fromework.base.testbase import TestBase
from fromework.flow.baidu import BaiduSearchFlow


@ddt
class TestBaiduSearch(TestBase):
    @classmethod
    def setUpClass(cls) -> None:
        cls.set_case_info('0001', '百度搜索功能测试', '搜索')

    @data('java', 'python', 'selenium')
    def test_search(self, content):
        BaiduSearchFlow.search(content)


